// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import "./commom/less/index.less"
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'element-ui/lib/theme-chalk/display.css';
import duoImageViewer from 'duo-image-viewer'
import VueResource from 'vue-resource';//发送请求
import VueLazyload from 'vue-lazyload'
import mavonEditor from "mavon-editor";
import "mavon-editor/dist/css/index.css";
Vue.use(mavonEditor);
Vue.use(VueResource)
Vue.use(duoImageViewer)
Vue.use(ElementUI);
Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: require('./commom/images/error.jpg'),
  loading: require('./commom/images/giphy.gif'),
  attempt: 1
  })
Vue.config.productionTip = false
Vue.prototype.serverurlapk = "http://1.15.84.52:3000/"
Vue.prototype.serverurl = "http://1.15.84.52:3002/"
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render:h=>h(App)
})
